#ifndef IN_FORMATTER_H
#define IN_FORMATTER_H
class InFormatter; // Ping pong
#include <istream>
#include "IntegerFormatter.h"

class InFormatter
{    
    friend std::istream & operator>>(std::istream & stream, InFormatter & formatter);

private:
    int & _value;
    IntegerFormatter const & _formatter;

public:
    InFormatter(IntegerFormatter const & formatter, int & value);
    ~InFormatter(void);
};

#endif // IN_FORMATTER_H